<?php /* Smarty version Smarty-3.0.8, created on 2012-10-31 14:52:13
         compiled from "E:\Zend\webroot\workForYangtzeu\administrator/template\fileManager.list.center.html" */ ?>
<?php /*%%SmartyHeaderCode:512250913b1db81660-37115329%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e6f61a6c4e1ee58dad5950d1a4dc973a7213d9a7' => 
    array (
      0 => 'E:\\Zend\\webroot\\workForYangtzeu\\administrator/template\\fileManager.list.center.html',
      1 => 1351695125,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '512250913b1db81660-37115329',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>

<div class="content-box"> 
  <!-- Start Content Box -->
  <div class="content-box-header">
    <h3>文章分类管理</h3>
    <ul class="content-box-tabs">
      <li><a href="#tab1" class="default-tab">所有分类</a></li>
      <li><a href="#tab2">编辑</a></li>
      <li><a href="#tab3">添加</a></li>
    </ul>
  </div>
  <!-- End .content-box-header --> 
  <!-- Start .content-box-content -->
  <div class="content-box-content">
    <div class="tab-content default-tab" id="tab1"> 
      <!-- elfinder 主体部分  -->
      <meta charset="utf-8">
      <script src="assets/jquery/jquery.js" type="text/javascript" charset="utf-8"></script> 
      <script src="assets/jquery/jquery-ui-1.8.23.custom.min.js" type="text/javascript" charset="utf-8"></script>
      <link rel="stylesheet" href="assets/jquery/ui-themes/smoothness/jquery-ui-1.8.23.custom.css" type="text/css" media="screen" title="no title" charset="utf-8">
      <link rel="stylesheet" href="assets/css/common.css" type="text/css">
      <link rel="stylesheet" href="assets/css/dialog.css" type="text/css">
      <link rel="stylesheet" href="assets/css/toolbar.css" type="text/css">
      <link rel="stylesheet" href="assets/css/navbar.css" type="text/css">
      <link rel="stylesheet" href="assets/css/statusbar.css" type="text/css">
      <link rel="stylesheet" href="assets/css/contextmenu.css" type="text/css">
      <link rel="stylesheet" href="assets/css/cwd.css" type="text/css">
      <link rel="stylesheet" href="assets/css/quicklook.css" type="text/css">
      <link rel="stylesheet" href="assets/css/commands.css" type="text/css">
      <link rel="stylesheet" href="assets/css/fonts.css" type="text/css">
      <link rel="stylesheet" href="assets/css/theme.css" type="text/css">
      <!-- elfinder core --> 
      <script src="assets/js/elFinder.js"></script> 
      <script src="assets/js/elFinder.version.js"></script> 
      <script src="assets/js/jquery.elfinder.js"></script> 
      <script src="assets/js/elFinder.resources.js"></script> 
      <script src="assets/js/elFinder.options.js"></script> 
      <script src="assets/js/elFinder.history.js"></script> 
      <script src="assets/js/elFinder.command.js"></script> 
      <!-- elfinder ui --> 
      <script src="assets/js/ui/overlay.js"></script> 
      <script src="assets/js/ui/workzone.js"></script> 
      <script src="assets/js/ui/navbar.js"></script> 
      <script src="assets/js/ui/dialog.js"></script> 
      <script src="assets/js/ui/tree.js"></script> 
      <script src="assets/js/ui/cwd.js"></script> 
      <script src="assets/js/ui/toolbar.js"></script> 
      <script src="assets/js/ui/button.js"></script> 
      <script src="assets/js/ui/uploadButton.js"></script> 
      <script src="assets/js/ui/viewbutton.js"></script> 
      <script src="assets/js/ui/searchbutton.js"></script> 
      <script src="assets/js/ui/sortbutton.js"></script> 
      <script src="assets/js/ui/panel.js"></script> 
      <script src="assets/js/ui/contextmenu.js"></script> 
      <script src="assets/js/ui/path.js"></script> 
      <script src="assets/js/ui/stat.js"></script> 
      <script src="assets/js/ui/places.js"></script> 
      <!-- elfinder commands --> 
      <script src="assets/js/commands/back.js"></script> 
      <script src="assets/js/commands/forward.js"></script> 
      <script src="assets/js/commands/reload.js"></script> 
      <script src="assets/js/commands/up.js"></script> 
      <script src="assets/js/commands/home.js"></script> 
      <script src="assets/js/commands/copy.js"></script> 
      <script src="assets/js/commands/cut.js"></script> 
      <script src="assets/js/commands/paste.js"></script> 
      <script src="assets/js/commands/open.js"></script> 
      <script src="assets/js/commands/rm.js"></script> 
      <script src="assets/js/commands/info.js"></script> 
      <script src="assets/js/commands/duplicate.js"></script> 
      <script src="assets/js/commands/rename.js"></script> 
      <script src="assets/js/commands/help.js"></script> 
      <script src="assets/js/commands/getfile.js"></script> 
      <script src="assets/js/commands/mkdir.js"></script> 
      <script src="assets/js/commands/mkfile.js"></script> 
      <script src="assets/js/commands/upload.js"></script> 
      <script src="assets/js/commands/download.js"></script> 
      <script src="assets/js/commands/edit.js"></script> 
      <script src="assets/js/commands/quicklook.js"></script> 
      <script src="assets/js/commands/quicklook.plugins.js"></script> 
      <script src="assets/js/commands/extract.js"></script> 
      <script src="assets/js/commands/archive.js"></script> 
      <script src="assets/js/commands/search.js"></script> 
      <script src="assets/js/commands/view.js"></script> 
      <script src="assets/js/commands/resize.js"></script> 
      <script src="assets/js/commands/sort.js"></script> 
      <script src="assets/js/commands/netmount.js"></script> 
      <!-- elfinder languages --> 
      <script src="assets/js/i18n/elfinder.zh_CN.js"></script> 
      <!-- elfinder dialog --> 
      <script src="assets/js/jquery.dialogelfinder.js"></script> 
      <!-- elfinder 1.x connector API support --> 
      <script src="assets/js/proxy/elFinderSupportVer1.js"></script> 
      <!-- elfinder custom extenstions --> 
      <script src="extensions/jplayer/elfinder.quicklook.jplayer.js"></script>
      <style type="text/css">
	body {
		font-family: arial, verdana, sans-serif;
	}

.button {
	width: 100px;
	position: relative;
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: top;
	zoom: 1;
	*display: inline;
	margin: 0 3px 3px 0;
	padding: 1px 0;
	text-align: center;
	border: 1px solid #ccc;
	background-color: #eee;
	margin: 1em .5em;
	padding: .3em .7em;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	cursor: pointer;
}
form {
	margin: 25px 0px 25px;
}
form input.text {
    margin-bottom: 12px;
    padding: 0.4em;
    width: 95%;
}
/*
		#dialog {
			position:absolute;
			left:50%;
			top:1000px;
		}
*/
</style>
      <script>
				$().ready(function() {
									el = $('#finder')
											.elfinder(
													{
														requestType : 'post',
														url : 'http://10.202.1.109/workForYangtzeu/administrator/index.php?c=connector',
														handlers : {
															select : function(
																	event,
																	elfinderInstance) {
																var selected = event.data.selected;
																if (selected.length) {
																}
															}
														},
														lang : 'zh_CN',
														customData : {
															answer : 42
														}
													});//.getElFinder().bind('mkdir', mkdir);

								});
// 				mkdir = function(e, elfinder) {
// 					alert("ok");
// 					window.console.log(e, elfinder);

// 					if ((typeof e.data.error == 'undefined')
// 							&& !(typeof e.data.added == 'undefined')) {
// 						for ( var folder in e.data.added) {
// 							//window.console.log(folder);
// 							if_album(e.data.added[folder]);
// 						}
// 					}
// 				}
// 				if_album = function(folder) {
// 					window.console.log(folder);
// 					$('#dialogAlbum').dialog({
// 						width: 350,
// 						modal: true,
// 						buttons : {
// 							"确定" : function() {
// 								alert("album 确定 单击了!!!");
// 								$.ajax({
// 									url:"http://10.202.1.109/workForYangtzeu/administrator/index.php?c=pcategory&a=add",
// 									type:"POST",
// 									async:false,
// 									data:$('#album_form').serialize() + 'file='+folder.hash+'&amp;' + 'pdir=' + folder.phash,
// 									dataType:"json",
// 									success: function(e){
// 								}		
// 								});
// 								//$('#album_form').submit();
// 							},
// 							"取消" : function() {
// 								$(this).dialog("close");
// 							}
// 						}
// 					}).css('display', 'block');
// 					alert("album test ok!!!");
// 				}
			</script>
      <div id="finder"> finder <span>here</span> </div>
      <div id="dialogAlbum" title="创建新的相册"style="display: none;">
        <form action="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'pcategory','a'=>'add'),$_smarty_tpl);?>
" id ="album_form">
        	<label for="name">相册标题</label>
          <input type="text" class ="text ui-widget-content ui-corner-all"name="name"  placeholder="这里是相册的标题"/>
          	<label for="content">相册描述</label>
          <textarea class="text ui-widget-content ui-corner-all"name="content"  placeholder="这里是相册的相关描述信息"></textarea>
        </form>
      </div>
      <div class="clear"></div>
      </body>
    </div>
    <div class="tab-content" id="tab2"></div>
    <div class="tab-content" id="tab3"></div>
  </div>
  <!-- End .content-box-content --> 
</div>
<!-- End .content-box -->